package money;

public class Test{

	public static void main(String[] args) {
		
	Student p1 = new Student("张三", 799, "电子实验室", "生物实验室");        //学生A负责实验室
    Student p2 = new Student("李四", 5600, "化学实验室", "物理演示实验室");    //学生B负责实验室
    {
    System.out.println("学生信息：");
    System.out.println(p1);
    System.out.println(p2);
    }
    Lab l1 = new Lab("电子实验室","优秀");
    Lab l2 = new Lab("计算机网络实验室","组成原理实验室", "及格");
    System.out.println("实验室：");       //实验室等级报表
    System.out.println(l1);
    System.out.println(l2);
    System.out.println("        ");
    System.out.println("学生实验室等级评级：");         //学生实验室等级评级
    System.out.println("张某等级为" + Lab.rating + "的实验室为:" + p1.getTab1());
    System.out.println("张某等级为" + Lab.rating + "的实验室为:" + p1.getTab2());
{                                                   //周收入和总收入计算
        System.out.println("张三一周的收入为:" + p1.income);
        //p1.income = result1;
        //p1.income = p1.income * 18;
        System.out.println("张三的税收入为：" + Shuishoujisuan.avg(p1.income));
        double a = p1.income;
        double b = Shuishoujisuan.avg(p1.income);
        System.out.println("张三的总收入为：" + (a-b));
        System.out.println("李四一周的收入为:" + p2.income);
        System.out.println("李四的税收入为：" + Shuishoujisuan.avg(p2.income));
        double a1 = p2.income;
        double b1 = Shuishoujisuan.avg(p2.income);
        System.out.println("李四的总收入为：" + (a1-b1));
        




}}}
        //double result3 = Shuishoujisuan.avg(p1.income);
        //System.out.println("张某税后的收入为：" + result3);
        //double result2 = Shuishoujisuan.Identifier(900);

        //System.out.println("李某一周的收入为:" + result2);
        //p2.income = result2;









